//
//  ByDocumentaryContentTitleValue.m
//  caipiao_ios
//
//  Created by mc on 2018/8/17.
//  Copyright © 2018年 ZhangZhanbin. All rights reserved.
//

#import "ByDocumentaryContentTitleValue.h"

@implementation ByDocumentaryContentTitleValue

- (id)init{
    self = [super init];
    if (self){
        
        self.titleLabel = [[UILabel alloc] init];
        [self addSubview:self.titleLabel];
        [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self).offset(0);
            make.right.equalTo(self).offset(0);
            make.top.equalTo(self).offset(0);
            make.height.mas_equalTo(@35);
        }];
        self.titleLabel.textColor = [UIColor grayColor];
        self.titleLabel.font = FONT(14);
        self.titleLabel.textAlignment = NSTextAlignmentCenter;
        
        
        self.valueLabel = [[UILabel alloc] init];
        [self addSubview:self.valueLabel];
        [self.valueLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self).offset(0);
            make.right.equalTo(self).offset(0);
            make.bottom.equalTo(self).offset(0);
            make.height.mas_equalTo(@35);
        }];
        self.valueLabel.textColor = [UIColor grayColor];
        self.valueLabel.font = FONT(12);
        self.valueLabel.textAlignment = NSTextAlignmentCenter;
    }
    return self;
}
@end
